<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改焊工数据统计分析')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-analysis-edit" th:object="${welderAnalysis}">
<!--            <input name="welderId" th:field="*{welderId}" type="hidden">-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊工ID：</label>
                <div class="col-sm-8">
                    <input name="welderId" th:field="*{welderId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊工姓名：</label>
                <div class="col-sm-8">
                    <input name="welderName" th:field="*{welderName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">所属班组：</label>
                <div class="col-sm-8">
                    <input name="welderTeam" th:field="*{welderTeam}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊机ID：</label>
                <div class="col-sm-8">
                    <input name="weldMachineId" th:field="*{weldMachineId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊缝编号：</label>
                <div class="col-sm-8">
                    <input name="weldLineId" th:field="*{weldLineId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊缝评分：</label>
                <div class="col-sm-8">
                    <input name="weldLineScore" th:field="*{weldLineScore}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">刷卡时间：</label>
                <div class="col-sm-8">
                    <input name="cardTime" th:field="*{cardTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊接时间：</label>
                <div class="col-sm-8">
                    <input name="weldingTime" th:field="*{weldingTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">良好段时长：</label>
                <div class="col-sm-8">
                    <input name="goodTime" th:field="*{goodTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">正常段时长：</label>
                <div class="col-sm-8">
                    <input name="normalTime" th:field="*{normalTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">超规范时长：</label>
                <div class="col-sm-8">
                    <input name="abnormalTime" th:field="*{abnormalTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">规范合格率：</label>
                <div class="col-sm-8">
                    <input name="normalRate" th:field="*{normalRate}" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留1：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare1" th:field="*{spare1}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留2：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare2" th:field="*{spare2}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留3：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare3" th:field="*{spare3}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留4：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare4" th:field="*{spare4}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留5：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="spare5" th:field="*{spare5}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "welder/analysis";
        $("#form-analysis-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-analysis-edit').serialize());
            }
        }
    </script>
</body>
</html>